package com.example.nuc_ms_beta.ui.viewconstruction.newsfragment;

import android.content.Context;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import com.example.nuc_ms_beta.R;


/**
 * Created by 张博川 on 2016/9/2.
 *
 */
public class OtherFragment extends Fragment {
    private Context context;
    private View view;
    private LayoutInflater inflater;

    public OtherFragment(Context context) {
        this.context = context;
        inflater = LayoutInflater.from(context);
    }

    @Nullable
    @Override
    public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
        initView(container);
        return view;
    }

    private void initView(ViewGroup container) {
        this.view = inflater.inflate(R.layout.otherschoollayout, container, false);
    }
}
